﻿using System;

namespace Cpu6502.Opcodes
{
    class TXS : Opcode
    {
        public TXS()
        {
            this.CpuCycles = 2;
            this.AddressType = CPU.AddressType.Implied;
        }

        public override void Execute()
        {
            CPU.Registers.S = CPU.Registers.X;
        }
    }
}
